package com.springboot.postgres.service.impl;

import com.springboot.postgres.bean.ChannelDataAssignment;
import com.springboot.postgres.mapper.ChannelDataAssignmentMapper;
import com.springboot.postgres.service.ChannelDataAssignmentService;
import com.springboot.postgres.service.base.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author: chenhs
 * @date: Created in 21:27 2020/4/18
 **/
@Repository("channelDataAssignmentService")
public class ChannelDataAssignmentServiceImpl extends BaseService<ChannelDataAssignment> implements ChannelDataAssignmentService {

    @Autowired
    private ChannelDataAssignmentMapper mapper;

    @Override
    public ChannelDataAssignment findDataById(Integer id) {
        return mapper.findDataById(id);
    }
}
